#ifndef _SPRITESELECTORPANEL_
#define _SPRITESELECTORPANEL_

#include "Graphics/Graphics.hpp"

/** 
* Panel of all sprites that can be selected and used to draw on the map.
*/
class SpriteSelectorPanel:public Panel{
private:
    sf::RectangleShape* background;

    /** SpriteManager that contains all the sprites. */
	SpriteManager* spriteManager;
    /** Array of IconButtons for each sprite. */
	IconButton** spriteButtons;
public:
    SpriteSelectorPanel(int width, int height, SpriteManager* manager);

    void updateLayout(int width, int height);
    virtual void onResize(int width, int height);
};

#endif
